/*
 * Copyright (c) 2008, Xiong Yingfei, the University of Tokyo
 * All rights reserved.
 */
package ac.jp.u_tokyo.SyncLib.language3;

import ac.jp.u_tokyo.SyncLib.language.EvaluationFailedException;

public class ExpectingAttributeName extends EvaluationFailedException
{
	String _name;

	public ExpectingAttributeName(String name, int line)
	{
		super(line);
		_name = name;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = -5055842255187962063L;

	@Override
	protected String getInternalMessage()
	{
		return _name + " is a generic parameter name. Expecting a variable";
	}

}
